package com.tuanzi.loan.business.repository.product.product;

import com.tuanzi.loan.business.entity.product.product.LoanProductApiFicoTag;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: chenweijun
 * @Date: 2019/8/30 14:29
 */
public interface LoanProductApiFicoTagRepository extends JpaRepository<LoanProductApiFicoTag, Long>{

    LoanProductApiFicoTag findOneByProductId(Long productId);

    void deleteByProductId(Long productId);

}
